﻿using DFGK.WMS.Common.ValidateRules;
using DFGK_WMS.Model.Models.PDA;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.Model.DTO
{
    public class CreateOutboundOrderDTO : BaseDto
    {

        /// <summary>
        /// 出库单ID
        /// </summary>
        public int DeliveryOrderID
        {
            get; set;
        }

        // 来源单据号
        public string SourceSn { get; set; }

        /// <summary>
        /// 仓库id
        /// </summary>
        public int WareHouseId
        {
            get; set;
        }
        /// <summary>
        /// 数量
        /// </summary>
        public decimal Qty
        {
            get; set;
        }

        /// <summary>
        /// 物料Id
        /// </summary>
        public int MaterialsId
        {
            get; set;
        }
        /// <summary>
        /// 物料编码
        /// </summary>
        public string MaterialCode
        {
            get; set;
        }
        /// <summary>
        /// 预期出库数量
        /// </summary>
        public decimal OutQty { get; set; }
        /// <summary>
        /// 批次号
        /// </summary>
        public string BatchNo
        {
            get; set;
        }
        /// <summary>
        /// 库存数量
        /// </summary>
        public decimal InventoryQty { get; set; }
        /// <summary>
        /// 库存Id
        /// </summary>
        public int InventoryId
        {
            get; set;
        }

        /// <summary>
        /// 仓位编码
        /// </summary>
        public string CellCode
        {
            get; set;
        }

        /// <summary>
        /// 库区编码
        /// </summary>
        public string AreaCode
        {
            get; set;
        }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark
        {
            get; set;
        }

        /// <summary>
        /// 生成日期
        /// </summary>
        public DateTime? CreateDate { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public int? CreateUserId { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateUser { get; set; }

        /// <summary>
        /// 托盘条码
        /// </summary>
        public string PalletBarcode { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public OrderRunInputModel OrderRunInputModel { get; set; }
    }


}























